﻿#pragma once
namespace LK
{
	namespace Drawing
	{
		/**@brief 表示“颜色”*/
		class Color
		{
		public:
			unsigned char b;
			unsigned char g;
			unsigned char r;
			unsigned char a;
			/**@brief 使用一个整形来构造*/
			Color(u32 c) { *(u32*)this = c; }
			/**@brief 转换到整型值*/
			operator u32()const { return *(u32*)this; }
		};
	}
}